<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		Broadcastweb.eu - Paules												/
/	Site:			http://www.broadcastweb.eu												/
/	Email:			support@broadcastweb.eu													/
/	Copyright:		2011 - 2012 (c) Broadcastweb.eu											/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0003																	/
/																							/
/========================================== JooSam ========================================*/
// Joomla Security
defined('_JEXEC') or die;
jimport('joomla.application.component.controller');

// Security
if (!JFactory::getUser()->authorise('core.manage', 'com_joosam')){
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

JLoader::register('JoosamHelper', dirname(__FILE__) . DS . 'helpers' . DS . 'helper.joosam.php');
// Set controllers
$controller = JController::getInstance('JooSam');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();